﻿using System.Collections.Generic;

namespace QNUnit.Core.Info
{
    public class QUnitTest
    {
        #region Fields

        public string TestName
        {
            get; private set;
        }

        public bool HasPassed
        {
            get; private set;
        }

        public List<QUnitSubTest> SubTests;

        #endregion

        #region Constructors

        public QUnitTest(string testName, bool hasPassed)
        {
            TestName = testName;
            HasPassed = hasPassed;
            SubTests = new List<QUnitSubTest>();
        } 

        #endregion
    }
}
